package com.fengye.validation.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author haiqing.gao
 * @since 2023-12-06 11:06
 */

@Data
@Entity(name = "validation_messages")
@Table(name = "validation_messages")
public class Message implements Serializable {

    @Id
    private Long id;
    private String locale;
    private String code;
    private String message;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
}
